﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class NguoiDungDTO
    {
        string strTenNguoiDung;

        public string TenNguoiDung
        {
            get { return strTenNguoiDung; }
            set { strTenNguoiDung = value; }
        }

        string strMatKhau;

        public string MatKhau
        {
            get { return strMatKhau; }
            set { strMatKhau = value; }
        }

        bool bLaNguoiQuanLy;

        public bool LaNguoiQuanLy
        {
            get { return bLaNguoiQuanLy; }
            set { bLaNguoiQuanLy = value; }
        }

        public NguoiDungDTO() : this("", "", false)
        {
        }

        public NguoiDungDTO(string tenNguoiDung, string matKhau, bool laQuanLy)
        {
            strMatKhau = matKhau;
            strTenNguoiDung = tenNguoiDung;
            bLaNguoiQuanLy = laQuanLy;
        }
    }
}
